import {
  NOTIFICATION_SERVICE_TYPE,
  NotificationServiceType,
} from "@/config/notification";

export type EnvType = "development" | "production";

interface RuntimeConfig {
  API_BASE_URL: string;
  WS_URL: string;
}

const development: RuntimeConfig = {
  API_BASE_URL: "http://192.168.1.10:8085",
  WS_URL: "ws://192.168.1.10:8085/ws",
};

const production: RuntimeConfig = {
  API_BASE_URL: "https://www.beloved.ltd:8089",
  WS_URL: "wss://www.beloved.ltd:8089/ws",
};

const env = "production" as EnvType;

const config: RuntimeConfig = env === "development" ? production : development;

export default config;
